home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / DreamSDK / Windows / INCLUDES / XAPI.R < prev    next >
Encoding:
Text File  |  1997-07-11  |  2.9 KB  |  117 lines

  1. #ifndef __XAPIR__
  2. #define __XAPIR__
  3. //$Id: XAPI.R 1.15 1997/07/02 21:02:54 Pierre-PP Exp $
  4.  
  5. #define kRDAPIVersion 9
  6.  
  7. type 'GUID' {
  8.     array TypeArray { 
  9.         hex longint;
  10.         hex integer;
  11.         hex integer;
  12.         hex string[8];
  13.         };
  14.     };
  15.  
  16. type 'COMP' {
  17.     literal longint;                    /* Family                */
  18.     literal longint;                    /* Class                */
  19.     pstring[63];                            /* Name           */
  20.     pstring[63];                            /* SubFamily Name    */
  21.     hex longint;                            /* Engine version  $xxxx.yy.zz example: 3.1.2 gives 0x00030102 */
  22.     pstring[31];                            /* Version string */
  23.     pstring[255];                            /* Comment          */
  24.     longint;                                    /* API number on which the engine is based */
  25.     };
  26.  
  27. // Old type of Comp resource (prior to the implementation of the API numbering scheme) */
  28. // DO NOT USE
  29. type 'Comp' {
  30.         literal longint;                /* Family            */
  31.         literal longint;                /* Class            */
  32.         pstring[63];                        /* Name                */
  33.         pstring[63];                        /* SubFamily Name    */
  34.         literal longint;                /* version            */
  35.         pstring[31];                        /*Version string    */
  36.         pstring[255];                        /* Comment    */
  37. };
  38.  
  39. type 'PMAP' {
  40.         array TypeArray { 
  41.             literal longint;
  42.             literal longint;
  43.             };
  44.     };
  45.  
  46. //new type of pMAP for animation
  47. type 'pMAP' {
  48.         array TypeArray { 
  49.             literal longint;    
  50.             literal longint;
  51.             longint;
  52.             pstring[31];
  53.             };
  54.     };
  55. #define interpolate 1
  56. #define paramReadOnly 2
  57. #define noFlags 0
  58.  
  59. type 'Modu' {
  60.     literal longint;                /* Family */
  61.     literal longint;                /* Class */
  62.     pstring[63];                        /* Name */
  63.     pstring[63];                        /* SubFamily Name */
  64.     literal int;                        /* WindowID */
  65.     literal int;                        /* MBarID */
  66.     literal int;                        /* TBarID */
  67.     literal int;                        /* PrefsMappingResID */
  68.     literal int;                        /* PrefsViewResID */
  69.     literal int;                        /* DefaultPrefsResID */
  70.     literal longint;                /* Workspace class signature */
  71.     literal longint;                /* version */
  72.     pstring[31];                        /* Version string */
  73.     pstring[255];                        /* Comment */
  74.     literal int;                        /* minimized iconID */
  75.     literal longint;                /* window context menuID or -1 */
  76.     literal int;                        /* boolean: is document module, used for external modules */
  77.     };
  78.  
  79. #define isAlienType 0
  80. #define isMainType 1
  81. #define hasExportOptions 2
  82.  
  83. type 'Cmpp'    {                            /* 'I/O' private data */
  84.     longint;                                /* Family Signature */
  85.     longint;                                /* Class Signature */
  86.     longint;                                /* flags */
  87.     literal longint;                /* creator (for Macintosh exporters only) */
  88.  
  89.     integer = $$CountOf(TypeArray);        /* Number of types        */ \
  90.     wide array TypeArray{    \
  91.         literal longint;                                /* Reference */    \
  92.         cstring;                                                /* Name    */ \
  93.         integer = $$CountOf(MacTypeArray); \
  94.         wide array MacTypeArray{ \
  95.             literal longint;                            /* Mac type  */ \
  96.             }; \
  97.         integer = $$CountOf(ExtTypeArray); \
  98.         wide array ExtTypeArray{ \
  99.             literal longint;                            /* Extension (last char ignored)  */ \
  100.             }; \
  101.         };
  102.     };
  103.  
  104. type 'prfs'    {
  105.     cstring;
  106. };
  107.  
  108. type 'prwk'    {
  109.     cstring;
  110. };
  111.  
  112. // Cross Platform View
  113. type 'XPVW' {
  114.     cstring;
  115. };
  116.  
  117. #endif